<div class="container">
    <div class="panel dux-box">
        <table id="table" class="table table-hover thread-list">
            <tbody>
                <tr>
                    <th width="100">编号</th>
                    <th width="*">标题</th>
                    <th width="*">首页菜单</th>
                    <th width="100">操作</th>
                </tr>
                <!--if{!empty($list)}-->
                <!--loop{$list as $vo}-->
                <tr>
                    <td>{$vo.menu_id}</td>
                    <td>{$vo.name}
                    </td>
                    <td>
                        <!--if{$vo['index']}-->
                        <span class="tag bg-main">是</span>
                        <!--{else}-->
                        <span class="tag bg-dot">否</span>
                        <!--{/if}-->
                    </td>
                    <td>
                        <a class="button bg-main button-small icon-pencil" href="{url('edit',array('menu_id'=>$vo['menu_id']))}" title="修改"></a>
                        <a class="button bg-red button-small icon-trash-o js-del" href="javascript:;" url="{url('del')}" data="{$vo.menu_id}" title="删除"></a>
                    </td>
                </tr>
                <!--{/loop}-->
                <!--{/if}-->
            </tbody>
        </table>
    </div>
    <br>
</div>
<script>
    Do.ready('base', function () {
        $('#table').duxTable();
    });
</script>